using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._UtilityNetworkTools._TraceConfiguration
{
    /// <summary>
    /// <para>Delete Trace Configuration</para>
    /// <para>Deletes one or more named trace configurations  from a utility network.</para>
    /// <para>从公共设施网络中删除一个或多个命名追踪配置。</para>
    /// </summary>    
    [DisplayName("Delete Trace Configuration")]
    public class DeleteTraceConfiguration : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DeleteTraceConfiguration()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_utility_network">
        /// <para>Input Utility Network</para>
        /// <para>The utility network containing the named trace configuration to be deleted.</para>
        /// <para>包含要删除的命名追踪配置的公共设施网络。</para>
        /// </param>
        /// <param name="_trace_config_name">
        /// <para>Trace Configuration</para>
        /// <para>The named trace configurations to be deleted.</para>
        /// <para>要删除的命名跟踪配置。</para>
        /// </param>
        public DeleteTraceConfiguration(object _in_utility_network, List<object> _trace_config_name)
        {
            this._in_utility_network = _in_utility_network;
            this._trace_config_name = _trace_config_name;
        }
        public override string ToolboxName => "Utility Network Tools";

        public override string ToolName => "Delete Trace Configuration";

        public override string CallName => "un.DeleteTraceConfiguration";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_utility_network, _trace_config_name, _out_utility_network];

        /// <summary>
        /// <para>Input Utility Network</para>
        /// <para>The utility network containing the named trace configuration to be deleted.</para>
        /// <para>包含要删除的命名追踪配置的公共设施网络。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Utility Network")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_utility_network { get; set; }


        /// <summary>
        /// <para>Trace Configuration</para>
        /// <para>The named trace configurations to be deleted.</para>
        /// <para>要删除的命名跟踪配置。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Trace Configuration")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public List<object> _trace_config_name { get; set; }


        /// <summary>
        /// <para>Updated Utility Network</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Utility Network")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_utility_network { get; set; }


        public DeleteTraceConfiguration SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}